#!/bin/bash

set -x

dir="/mnt/yanyi/ceph/build"
cd ${dir}

bin/ceph osd pool create firstpool 128
bin/ceph osd pool set firstpool pg_autoscale_mode warn

bin/rbd create firstpool/rbd1 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd2 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd3 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd4 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd5 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd6 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd7 --size 20G --image-format 2 --image-feature layering
bin/rbd create firstpool/rbd8 --size 20G --image-format 2 --image-feature layering
